import request from '@/utils/request'
import qs from 'qs'
// 查询模板
export function pageListTamplate(data) {
  return request({
    url: '/template/info/pageList?' + qs.stringify(data),
    method: 'get',
    data: data
  })
}
// 新增模板
export function saveOrUpdate(data) {
  return request({
    url: '/template/info/saveOrUpdate',
    method: 'post',
    data: data
  })
}
// 批量下载
export function downloadBatch(data) {
  return request({
    url: '/common/downloadBatch',
    responseType: 'blob',
    method: 'post',
    data: data
  })
}